Skip to content

CFM-31_Enrollment_Flows_enable_people_picker_for_self_service #324

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

Ioannis
Copy link
Contributor

@Ioannis Ioannis commented Aug 5, 2025

No description provided.

@Ioannis Ioannis requested review from arlen and benno August 5, 2025 10:12
@Ioannis Ioannis closed this Aug 10, 2025
@Ioannis Ioannis deleted the CFM-31_Enrollment_Flows_enable_people_picker_for_self_service branch August 10, 2025 05:59
@Ioannis Ioannis restored the CFM-31_Enrollment_Flows_enable_people_picker_for_self_service branch August 10, 2025 06:01
@Ioannis Ioannis reopened this Aug 10, 2025
@Ioannis Ioannis force-pushed the CFM-31_Enrollment_Flows_enable_people_picker_for_self_service branch from ada4095 to 22163b4 Compare August 10, 2025 06:04
@Ioannis Ioannis force-pushed the CFM-31_Enrollment_Flows_enable_people_picker_for_self_service branch from 22163b4 to f2c2a63 Compare August 20, 2025 07:18
@@ -661,6 +661,7 @@
"plugin": {},
"ordr": {},
"actor_type": { "type": "string", "size": 2 },
"enable_person_find": { "type": "boolean" },
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know on the dev call we decided to move this configuration to EnrollmentFlowStep, but on further reflection I wonder if it should actually be specific to the AttributeCollector? I don't think any other plugin is likely to use this setting...

msgstr "Enable People Picker for Self Service"

msgid "EnrollmentFlowSteps.enable_person_find.desc"
msgstr "Enable people picker for self-service enrollments, see <a href=\"https://spaces.at.internet2.edu/display/COmanage/COmanage+Registry+PE+Technical+Manual\">Registry Technical Manual</a> for privacy considerations"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We'll need a deep link to the specific page (and preferably anchor) with the discussion of privacy consideration. This probably belongs in the Attribute Collector documentation.

Comment on lines -99 to +124
print $this->element('form/listItem', [
'arguments' => [
'fieldName' => 'person_picker_display_fields',
'labelIsTextOnly' => true,
'groupedControls' => [
// each key is the fieldName of the control we are going to create
'person_picker_email_address_type_id' => [
'fieldOptions' => [
'label' => __d('field', 'mail'),
'empty' => '(' . __d('operation', 'all') . ')',
// 'all' => '(' . __d('operation', 'all') . ')'
],
],
'person_picker_identifier_type_id' => [
'fieldOptions' => [
'label' => __d('field', 'identifier'),
'empty' => '(' . __d('operation', 'all') . ')',
// 'all' => '(' . __d('operation', 'all') . ')',
],
],
'person_picker_display_types' => [
'singleRowItem' => true,
'fieldLabel' => __d('field', 'CoSettings.person_picker_display_types')
]
],
]]);
// print $this->element('form/listItem', [
// 'arguments' => [
// 'fieldName' => 'person_picker_display_fields',
// 'labelIsTextOnly' => true,
// 'groupedControls' => [
// // each key is the fieldName of the control we are going to create
// 'person_picker_email_address_type_id' => [
// 'fieldOptions' => [
// 'label' => __d('field', 'mail'),
// 'empty' => '(' . __d('operation', 'all') . ')',
//// 'all' => '(' . __d('operation', 'all') . ')'
// ],
// ],
// 'person_picker_identifier_type_id' => [
// 'fieldOptions' => [
// 'label' => __d('field', 'identifier'),
// 'empty' => '(' . __d('operation', 'all') . ')',
//// 'all' => '(' . __d('operation', 'all') . ')',
// ],
// ],
// 'person_picker_display_types' => [
// 'singleRowItem' => true,
// 'fieldLabel' => __d('field', 'CoSettings.person_picker_display_types')
// ]
// ],
// ]]);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we removing these configurations from CO Settings? If so, we should remove them from schema.json and the model code as well.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we are. I will make the extra changes.

Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants